package com.zf.springlearn.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class TestEventListener implements ApplicationListener<TestEvent> {

    public TestEventListener() {

    }

    @Override
    public void onApplicationEvent(TestEvent event) {
        //System.out.printf("------------------------event:" + event.getEventName());
    }
}
